package com.grape.error;

import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 类描述： DataNotFoundException类
 *
 * @author  putao
 * @email   2628279194@qq.com
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class DataNotFoundException extends RuntimeException{
    /**
     * 直接构造错误消息的构造异常
     * @param message 异常消息
     */
    public DataNotFoundException(String message) {
        super(message);
    }
}
